<footer class="page-footer bg-color ">

    <div class="container row center-align" style="margin-bottom: 15px !important;">
        <div class="col s12 m8 l8 copy-right">
            Copyright&nbsp;©
            <span id="year">2020</span>
            <a href="/about" target="_blank">{$config.site.site_author}</a> |&nbsp;Powered by&nbsp;<a
                href="https://hexo.io/" target="_blank">Hexo</a> |&nbsp;Theme&nbsp;
            <a href="https://github.com/blinkfox/hexo-theme-matery" target="_blank">Matery</a>

           <!-- <i class="fas fa-chart-area"></i>&nbsp;站点总字数:&nbsp;<span class="white-color">36.2k</span>&nbsp;字

            <span id="busuanzi_container_site_pv" style="display: inline;">
                |&nbsp;<i class="far fa-eye"></i>&nbsp;总访问量:&nbsp;<span id="busuanzi_value_site_pv" class="white-color">2362</span>&nbsp;次
                </span>

            <span id="busuanzi_container_site_uv" style="display: inline;">
                |&nbsp;<i class="fas fa-users"></i>&nbsp;总访问人数:&nbsp;<span id="busuanzi_value_site_uv"
                                                                           class="white-color">876</span>&nbsp;人
                </span>-->

            <br>

            <span id="sitetime"></span>
            <script>
                function siteTime() {
                    var seconds = 1000;
                    var minutes = seconds * 60;
                    var hours = minutes * 60;
                    var days = hours * 24;
                    var years = days * 365;
                    var today = new Date();
                    var startYear = "2020";
                    var startMonth = "8";
                    var startDate = "31";
                    var startHour = "0";
                    var startMinute = "0";
                    var startSecond = "0";
                    var todayYear = today.getFullYear();
                    var todayMonth = today.getMonth() + 1;
                    var todayDate = today.getDate();
                    var todayHour = today.getHours();
                    var todayMinute = today.getMinutes();
                    var todaySecond = today.getSeconds();
                    var t1 = Date.UTC(startYear, startMonth, startDate, startHour, startMinute, startSecond);
                    var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond);
                    var diff = t2 - t1;
                    var diffYears = Math.floor(diff / years);
                    var diffDays = Math.floor((diff / days) - diffYears * 365);
                    var diffHours = Math.floor((diff - (diffYears * 365 + diffDays) * days) / hours);
                    var diffMinutes = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours) /
                        minutes);
                    var diffSeconds = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours -
                        diffMinutes * minutes) / seconds);
                    if (startYear == todayYear) {
                        document.getElementById("year").innerHTML = todayYear;
                        document.getElementById("sitetime").innerHTML = "本站已安全运行 " + diffDays + " 天 " + diffHours +
                            " 小时 " + diffMinutes + " 分钟 " + diffSeconds + " 秒";
                    } else {
                        document.getElementById("year").innerHTML = startYear + " - " + todayYear;
                        document.getElementById("sitetime").innerHTML = "本站已安全运行 " + diffYears + " 年 " + diffDays +
                            " 天 " + diffHours + " 小时 " + diffMinutes + " 分钟 " + diffSeconds + " 秒";
                    }
                }

                setInterval(siteTime, 1000);
            </script>

            <br>

            <span id="icp"><img src="__FIMG__/icp.png" style="vertical-align: text-bottom;">
                <a href="http://beian.miit.gov.cn/" target="_blank">{$config.site.site_ico}</a>
            </span>

        </div>
        <div class="col s12 m4 l4 social-link social-statis">
            <a href="https://gitee.com/luckygyl" class="tooltipped" target="_blank" data-tooltip="访问我的Gitee"
               data-position="top" data-delay="50">
                <i class="fab fa-github"></i>
            </a>

            <a href="mailto:{$config.site.site_email}" class="tooltipped" target="_blank" data-tooltip="邮件联系我"
               data-position="top" data-delay="50">
                <i class="fas fa-envelope-open"></i>
            </a>

            <a href="tencent://AddContact/?fromId=50&amp;fromSubId=1&amp;subcmd=all&amp;uin={$config.site.site_qq}"
               class="tooltipped" target="_blank" data-tooltip="QQ联系我: {$config.site.site_qq}" data-position="top" data-delay="50">
                <i class="fab fa-qq"></i>
            </a>

        </div>
    </div>
</footer>